﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.QD
{
    /// <summary>
    /// 工程业绩
    /// </summary>
    public class h_projectBzk_New
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        public Int32? ClassID { get; set; }
        public Int32? TreeID { get; set; }
        /// <summary>
        /// 项目编号（此字段为项目唯一标识）4位地区4位年3位顺序
        /// </summary>
        public String Code { get; set; }
        /// <summary>
        /// 项目类型（1：项目；2：标段；3：单体）
        /// </summary>
        public Byte? bKind { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public String Title { get; set; }
        /// <summary>
        /// 项目地址
        /// </summary>
        public String Address { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public Double? Areas { get; set; }
        /// <summary>
        /// 造价
        /// </summary>
        public Double? Cost { get; set; }
        public String CorpName { get; set; }
        /// <summary>
        /// 项目开始日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 项目竣工日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 写入时间
        /// 
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate { get; set; }
        /// <summary>
        /// 项目状态
        /// 0：未定义；1：不明状态；2：招标；
        /// 3：施工许可办理；10：停工；
        /// 254：在建；255：竣工
        /// </summary>
        public Byte? bStatus { get; set; }
        /// <summary>
        /// 项目来源
        /// </summary>
        public Byte? bSoueceFlag { get; set; }
        /// <summary>
        /// 写入人
        /// </summary>
        public Int32? AuthorID { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 结构类型
        /// </summary>
        public Int32? StructType { get; set; }
        /// <summary>
        /// 工程等级
        /// </summary>
        public Int32? ProjectKind { get; set; }
        /// <summary>
        /// 层数
        /// 
        /// </summary>
        public String LevelNum { get; set; }
        public Int32? BuildKind { get; set; }
        public String BuildHeight { get; set; }
        public String BuildSpan { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? CheckDate { get; set; }
        /// <summary>
        /// 是否考勤考核
        /// </summary>
        public Byte? bKQKH { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? GetDateTime { get; set; }
        /// <summary>
        /// 唯一编码
        /// </summary>
        public Guid? keyGUID { get; set; }
        public String ProjectFoundation { get; set; }
        /// <summary>
        /// 版本号
        /// 
        /// </summary>
        public Int32? RightCode { get; set; }
        /// <summary>
        /// 工程性质
        /// 0, "其他"  1,"公共建筑工程"  2,"住宅或其他建筑工程"
        /// 3,"市政基础设施、装饰装修等专业工程" 
        /// 界面只用到了1，公共建筑工程和2，住宅或其他建筑工程
        /// </summary>
        public Int32? ProjectSbType { get; set; }
        public String AreaCode { get; set; }
        /// <summary>
        /// 工程类型：
        /// （0：主体；1：幕墙；2：消防；3：基坑支护；
        /// 4：空调通风；5：弱电智能化；6：土石方；
        /// 7：装饰装修）
        /// </summary>
        public Int32? ProjectType { get; set; }
        public Boolean? IsDel { get; set; }
        /// <summary>
        /// 建设单位
        /// </summary>
        public String Owner { get; set; }
        public Int32? IsrtUser { get; set; }
        public String IsrtUserName { get; set; }
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? IsrtDate { get; set; }
        public String OwnerContact { get; set; }
        public Byte? AreasUnit { get; set; }
        public String ProjectTime { get; set; }
        public String OvergroundLvNum { get; set; }
        public String UndergroundLvNum { get; set; }
        public String AwardType { get; set; }
        public Int32? ProjectSbSubType { get; set; }
        public String ProjectContent { get; set; }
        public Int32? BusinessType { get; set; }
        public String Tenement { get; set; }
        public Int32? MoneySource { get; set; }
        public String MoneyProportion { get; set; }
        public Double? ContractEstimatedMoney { get; set; }
        public String IsrtAreaCode { get; set; }
    }
}
